from django.conf.urls.defaults import *

urlpatterns = patterns('catalog.views',
   url(r'^item/(?P<id>\d+)/$', 'item', name='category_item_view'),
   url(r'^os/(?P<os_id>\d+)/(?P<id>\d+)/$', 'index', name='category_from_os_view'),
   url(r'^os/(?P<os_id>\d+)/$', 'index', name='category_os_view'),
   url(r'^(?P<id>\d+)/$', 'index', name='category_view'),
   url(r'^os/$', 'index', name='category_os_index_view'),
   url(r'^$', 'index', name='category_index_view'),
)